package com.suyang.syt.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/** 微信图文消息 */
@Entity
@Table(name = "WX_MSG_IMAGETEXT")
@SuppressWarnings("serial")
public class WeixinMsgImageText extends BaseEntity {
	/** 图文消息标题 */
	private String title;

	/** 图文消息描述 */
	private String description;

	/** 图片链接，支持JPG、PNG格式，较好的效果为大图360*200，小图200*200 */
	private String picUrl;

	/** 点击图文消息跳转链接 */
	private String url;

	/** 图文消息的封面图片素材id（必须是永久mediaID） */
	private String thumb_media_id;

	/** 作者 */
	private String author;

	/** 图文消息的摘要，仅有单图文消息才有摘要，多图文此处为空 */
	private String digest;

	/** 是否显示封面，0为false，即不显示，1为true，即显示 */
	private String show_cover_pic;

	/** 图文消息的具体内容，支持HTML标签，必须少于2万字符，小于1M，且此处会去除JS */
	private String content;

	/** 图文消息的原文地址，即点击“阅读原文”后的URL */
	private String content_source_url;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getThumb_media_id() {
		return thumb_media_id;
	}

	public void setThumb_media_id(String thumb_media_id) {
		this.thumb_media_id = thumb_media_id;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getDigest() {
		return digest;
	}

	public void setDigest(String digest) {
		this.digest = digest;
	}

	public String getShow_cover_pic() {
		return show_cover_pic;
	}

	public void setShow_cover_pic(String show_cover_pic) {
		this.show_cover_pic = show_cover_pic;
	}

	@Column(length = 4000)
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContent_source_url() {
		return content_source_url;
	}

	public void setContent_source_url(String content_source_url) {
		this.content_source_url = content_source_url;
	}

}
